package com.group.www.pojo;

import java.io.Serializable;

public class SaleInfo implements Serializable {
    private Integer saleid;

    private String brandname;

    private String brandlogo;

    private Integer userId;

    private String username;

    private Integer goodsId;

    private String goodsname;

    private String goodsimage;

    private Float goodsprice;

    private Integer goodsnum;

    private String consignee;

    private String mobile;

    private String address;

    private String comments;

    private static final long serialVersionUID = 1L;

    public Integer getSaleid() {
        return saleid;
    }

    public void setSaleid(Integer saleid) {
        this.saleid = saleid;
    }

    public String getBrandname() {
        return brandname;
    }

    public void setBrandname(String brandname) {
        this.brandname = brandname == null ? null : brandname.trim();
    }

    public String getBrandlogo() {
        return brandlogo;
    }

    public void setBrandlogo(String brandlogo) {
        this.brandlogo = brandlogo == null ? null : brandlogo.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname == null ? null : goodsname.trim();
    }

    public String getGoodsimage() {
        return goodsimage;
    }

    public void setGoodsimage(String goodsimage) {
        this.goodsimage = goodsimage == null ? null : goodsimage.trim();
    }

    public Float getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(Float goodsprice) {
        this.goodsprice = goodsprice;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee == null ? null : consignee.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public SaleInfo() {
    }


    public SaleInfo(Integer saleid, String brandname, String brandlogo, String username, String goodsname, String goodsimage, Float goodsprice, Integer goodsnum, String consignee, String mobile, String address, String comments) {
        this.saleid = saleid;
        this.brandname = brandname;
        this.brandlogo = brandlogo;
        this.username = username;
        this.goodsname = goodsname;
        this.goodsimage = goodsimage;
        this.goodsprice = goodsprice;
        this.goodsnum = goodsnum;
        this.consignee = consignee;
        this.mobile = mobile;
        this.address = address;
        this.comments = comments;
    }

    public SaleInfo(String brandname, String brandlogo, Integer userId, String username, Integer goodsId, String goodsname, String goodsimage, Float goodsprice, Integer goodsnum, String consignee, String mobile, String address) {
        this.brandname = brandname;
        this.brandlogo = brandlogo;
        this.userId = userId;
        this.username = username;
        this.goodsId = goodsId;
        this.goodsname = goodsname;
        this.goodsimage = goodsimage;
        this.goodsprice = goodsprice;
        this.goodsnum = goodsnum;
        this.consignee = consignee;
        this.mobile = mobile;
        this.address = address;
    }

    @Override
    public String toString() {
        return "SaleInfo{" +
                "saleid=" + saleid +
                ", brandname='" + brandname + '\'' +
                ", brandlogo='" + brandlogo + '\'' +
                ", username='" + username + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", goodsimage='" + goodsimage + '\'' +
                ", goodsprice=" + goodsprice +
                ", goodsnum=" + goodsnum +
                ", consignee='" + consignee + '\'' +
                ", mobile='" + mobile + '\'' +
                ", address='" + address + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }
}